import { Button, ButtonProps } from '@tarojs/components';
import { FC } from 'react';

import './index.scss';

interface OurButtonProps extends ButtonProps {}

const OurButton: FC<OurButtonProps> = (props) => {
  return (
    <Button {...props} className={'ourButton ' + (props.className || '')} hoverClass='hoverButton'>
      <div className="ourButtonContent">
        <div className="ourButtonText">{props.children}</div>
      </div>
    </Button>
  );
};

export default OurButton;
